<template>
  <div class="">
    <h5>{{ msg }}</h5>
    <input type="text" v-model="msg">
  </div>
</template>

<script setup lang="ts" name="">
import { reactive, ref } from "vue"
import useDelayRef from "@/hooks/useDelayRef";
let { msg } = useDelayRef('你好啊', 2000)

</script>

<style scoped></style>